<form id="CMS_FileManager_ReturnForm" onsubmit="CMS.FileManager.returnfiles(xajax.getFormValues('CMS_FileManager_ReturnForm'));return false;">
<input type="hidden" name="dir" value="{$dir}" />
<table border="0" width="100%">
{foreach name="fileloop" from=$files item=file}
	{if $file.filetype != "goup" && $file.filetype != "dir"}
		<tr bgcolor="{cycle values="#d9d9d9,"}">
			<td valign="top" width="14"><img src="icons/16x16/{$file.icon}" width="14" height="14" border="0" /></td>
			<td valign="top"><a href="#">{$file.filename}</a></td>
			<td align="right" valign="top">{$file.size}</td>
			<td width="20"><input type="checkbox" name="returnfile[]" value="{$file.filename}" /></td>
		</tr>
	{/if}
{/foreach}
</table>
<input type="submit" value="ausgewählte Dateien übernehmen" />
</form>